function addDebitCustomLines(customLines, debitAmount, accountId, memo) {
    var newLine = customLines.addNewLine();
    newLine.setDebitAmount(debitAmount);//debit借方
    newLine.setAccountId(accountId);
    newLine.setMemo(memo);
}

function addCreditCustomLines(customLines, creditAmount, accountId, memo) {
    var newLine = customLines.addNewLine();
    newLine.setCreditAmount(creditAmount);//credit贷方
    newLine.setAccountId(accountId);
    newLine.setMemo(memo);
}
